package sample

interface A {
    operator fun contains(other: A): Boolean
}

fun test(x: A, b: Boolean) {
    when (b) {
        x in x -> {}
        else -> {}
    }
}
